﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace BookStore.Users
{
    /// <summary>
    /// User(用户表)基本增删改查
    /// </summary>
    public interface IUseFunctionModule :
        ICrudAppService<
            UserDto,
            int,
            PagedAndSortedResultRequestDto,
            CreateUpdateUserDto>
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="UseName"></param>
        /// <param name="UsePword"></param>
        /// <returns></returns>
        Task<int> UseLogin(string UseName, string UsePword);
    }
}
